import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/student',
    name: 'Student',
    component: () => import('@/views/student/index.vue')
  },
  {
    path: '/course',
    name: 'Course',
    component: () => import('@/views/course/index.vue')
  },
  {
    path: '/student-course',
    name: 'StudentCourse',
    component: () => import('@/views/studentCourse/index.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router 